import Apriori.CalcConfidence;
import Apriori.CalcSupport;
import Apriori.ExtractFile; 
import Apriori.outputRules;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;



/**
 * @author yichao/Linyi
 */
public class Main{
    
    public static void main(String[] argv) throws FileNotFoundException, IOException{
        
        double minSupport = 0.2;
        double minConf = 0.7;
        
        ExtractFile ef = new ExtractFile();
        CalcSupport CS = new CalcSupport( ExtractFile.transactionList, minSupport);
        CalcConfidence CC = new CalcConfidence( CS.GetLargeItemSet() ,minConf);
        outputRules OR = new outputRules( CC.GetRules(), ExtractFile.transactionList, CS.GetLargeItemSet(), minSupport, minConf);
        
    
    }
    
}
